cody - HTMLify profile

cody
4270 Files
632457 Views
Latest files of /cody/frontendcharm/Mini-Projects/CUSTOM ANIMATIONS/Three.js Parallax Effect
@import url("https://fonts.googleapis.com/css2?family=Asap&display=swap");
* {
margin: 0;
padding: 0;
}
html,
* {
margin: 0;
padding: 0;
}
html,
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Three.js Parallax Effect</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Three.js Parallax Effect</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
"use strict";
const img_base = "https://threejs.org/examples/textures/kandao3.jpg";
//let img_base = "https://happy358.github.io/Images/HDR/sunny_vondelpark_4k.jpg";
const img_depth =
"https://threejs.org/examples/textures/kandao3_depthmap.jpg";
import * as THREE from "three";
const img_base = "https://threejs.org/examples/textures/kandao3.jpg";
//let img_base = "https://happy358.github.io/Images/HDR/sunny_vondelpark_4k.jpg";
const img_depth =
"https://threejs.org/examples/textures/kandao3_depthmap.jpg";
import * as THREE from "three";